﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Projects.aspx.cs" Inherits="Com.Iooogle.Bms.Web.Console.Projects" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <bms:ExternalResourceLoader ID="DefaultExternalResourceLoader" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="el-frame-container">
        <div id="el-sup-menus-bar" class="clearfix">
            <ul class="css-btns">
                <li><a href="?View=CreateNew">新建项目</a></li>
                <li><a href="?View=Default">项目列表</a></li>
                <li><a href="#">授权管理</a></li>
            </ul>
        </div>
        <asp:Panel ID="ProListPanel" runat="server" Visible="false">
            <div id="el-boxes" class="css-tbl-standard-list" style="width: 720px;">
                <div class="css-tbl-standard-inner">
                    <table>
                        <colgroup>
                            <col style="width: 48px;" />
                            <col />
                            <col style="width: 72px;" />
                            <col style="width: 72px;" />
                            <col style="width: 72px;" />
                            <col style="width: 90px;" />
                        </colgroup>
                        <tr>
                            <th scope="col">选项</th>
                            <th scope="col">项目名称</th>
                            <th scope="col">BUG 数量</th>
                            <th scope="col">已解决</th>
                            <th scope="col">尚未解决</th>
                            <th scope="col">操作</th>
                        </tr>
                        <asp:Repeater ID="Repeater1" runat="server">
                            <ItemTemplate>
                                <tr>
                                    <td><asp:CheckBox ID="CheckBox1" runat="server" /></td>
                                    <td><%#Eval("ProName")%></td>
                                    <td><%#Eval("BugCount", "{0:0}")%></td>
                                    <td>0</td>
                                    <td>0</td>
                                    <td><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="#">编辑</asp:HyperLink> <asp:LinkButton ID="LinkButton1" runat="server">删除</asp:LinkButton></td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
            </div>
        </asp:Panel>
        <asp:Panel ID="ProCreatePanel" runat="server" Visible="false" DefaultButton="Button1">
            <div class="css-tbl-standard-form">
                <div class="css-tbl-standard-inner">
                    <h1>新建项目</h1>
                    <table class="css-form-mr">
                        <tr>
                            <th scope="row">项目名称：</th>
                            <td><asp:TextBox ID="TextBox1" runat="server" CssClass="css-standard-box css-standard-single"
                                Width="240" /></td>
                        </tr>
                        <tr>
                            <th scope="row"></th>
                            <td style="height: 30px;">
                                <asp:Button ID="Button1" runat="server" Text="创建项目" CssClass="css-standard-button-4"
                                    OnClick="Button1_Click" />
                            </td>
                        </tr>
                    </table>
                    <script type="text/javascript">
                        //<![CDATA[
                        $('#Button1').click(function() {
                            if (BMS.Validator.isNull('TextBox1')) {
                                BMS.MessageBox.alert('请填写项目名称！');
                                return false;
                            }
                        });
                        //]>
                    </script>
                </div>
            </div>
        </asp:Panel>
    </div>
    </form>
</body>
</html>
